package com.example.games.core;

import android.graphics.Canvas;
import android.graphics.Paint;
import android.view.MotionEvent;

/**
 * 场景
 * 
 * @author caohao
 * 
 */
public interface CScene {

	public void addSprite(CSprite sprite);

	public void draw(Canvas canvas, Paint paint);

	public void logic();

	public void pause();

	public void resume();

	public void dispose();

	public String getName();
	
	public boolean onDown(MotionEvent e);
	
	public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX,
			float distanceY);
}
